cargo.git
9 years agocontrol: bump policy version
Luca Bruno [Sat, 7 May 2016 16:08:37 +0000 (18:08 +0200)]
control: bump policy version

9 years agopatches: fix some embedding quirks
Luca Bruno [Sat, 7 May 2016 15:55:57 +0000 (17:55 +0200)]
patches: fix some embedding quirks

9 years agopatches: fix syntax error in url crate manifest
Luca Bruno [Sat, 7 May 2016 15:39:28 +0000 (17:39 +0200)]
patches: fix syntax error in url crate manifest

9 years agoRefresh patches
Luca Bruno [Sat, 7 May 2016 15:35:22 +0000 (17:35 +0200)]
Refresh patches

9 years agoUpdated deps for 0.9.0
Luca Bruno [Sat, 7 May 2016 15:33:49 +0000 (17:33 +0200)]
Updated deps for 0.9.0

9 years agoRefresh clean-cargo-deps
Luca Bruno [Sat, 7 May 2016 15:31:57 +0000 (17:31 +0200)]
Refresh clean-cargo-deps

9 years agoMerge tag 'upstream/0.9.0' into debian/sid
Luca Bruno [Sat, 7 May 2016 15:29:14 +0000 (17:29 +0200)]
Merge tag 'upstream/0.9.0' into debian/sid

Upstream version 0.9.0

9 years agoImported Upstream version 0.9.0
Luca Bruno [Sat, 7 May 2016 15:29:03 +0000 (17:29 +0200)]
Imported Upstream version 0.9.0

10 years agocargo 0.8.0-2
Luca Bruno [Tue, 5 Apr 2016 20:24:34 +0000 (22:24 +0200)]
cargo 0.8.0-2

10 years agocontrol: prefer libcurl4-gnutls-dev for building (Closes: #819831)
Luca Bruno [Tue, 5 Apr 2016 20:20:26 +0000 (22:20 +0200)]
control: prefer libcurl4-gnutls-dev for building (Closes: #819831)

libgit2 recently switched to libcurl4-gnutls-dev, while cargo used to build
with libcurl4-openssl-dev. We try align with libgit2 here.

10 years agocargo 0.8.0-1
Luca Bruno [Sun, 6 Mar 2016 08:20:01 +0000 (09:20 +0100)]
cargo 0.8.0-1

10 years agochangelog: preparing new upstream release
Luca Bruno [Sat, 5 Mar 2016 21:48:59 +0000 (22:48 +0100)]
changelog: preparing new upstream release

10 years agocargo: remove unused lintian overrides
Luca Bruno [Sat, 5 Mar 2016 21:38:35 +0000 (22:38 +0100)]
cargo: remove unused lintian overrides

10 years agopatches: refresh for deps
Luca Bruno [Sat, 5 Mar 2016 21:32:13 +0000 (22:32 +0100)]
patches: refresh for deps

10 years agodeps: update for 0.8.0
Luca Bruno [Sat, 5 Mar 2016 21:24:35 +0000 (22:24 +0100)]
deps: update for 0.8.0

10 years agopatches: clean cargo deps
Luca Bruno [Sat, 5 Mar 2016 21:21:23 +0000 (22:21 +0100)]
patches: clean cargo deps

10 years agoMerge tag 'upstream/0.8.0' into debian/sid
Luca Bruno [Sat, 5 Mar 2016 19:55:51 +0000 (20:55 +0100)]
Merge tag 'upstream/0.8.0' into debian/sid

Upstream version 0.8.0

10 years agoImported Upstream version 0.8.0
Luca Bruno [Sat, 5 Mar 2016 19:55:44 +0000 (20:55 +0100)]
Imported Upstream version 0.8.0

10 years agocargo 0.7.0-2
Luca Bruno [Thu, 3 Mar 2016 21:21:02 +0000 (22:21 +0100)]
cargo 0.7.0-2

10 years agocontrol: update build-deps for build-profiles
Luca Bruno [Thu, 3 Mar 2016 21:12:42 +0000 (22:12 +0100)]
control: update build-deps for build-profiles

10 years agobuild: clean environment to allow multiple builds
Luca Bruno [Sun, 28 Feb 2016 10:41:14 +0000 (11:41 +0100)]
build: clean environment to allow multiple builds

10 years agobuild: preserve original Cargo.lock for clean
Luca Bruno [Sun, 28 Feb 2016 10:16:05 +0000 (11:16 +0100)]
build: preserve original Cargo.lock for clean

10 years agocargo-doc: do not build under nodoc profile
Luca Bruno [Sun, 28 Feb 2016 10:11:33 +0000 (11:11 +0100)]
cargo-doc: do not build under nodoc profile

10 years agocargo: add a new stage2 profile
Luca Bruno [Sat, 27 Feb 2016 22:30:03 +0000 (23:30 +0100)]
cargo: add a new stage2 profile

10 years agocargo-doc: update docbase paths after package split
Luca Bruno [Sun, 28 Feb 2016 09:55:41 +0000 (10:55 +0100)]
cargo-doc: update docbase paths after package split

10 years agopatches: do not reference remote jquery
Luca Bruno [Sun, 28 Feb 2016 09:49:59 +0000 (10:49 +0100)]
patches: do not reference remote jquery

10 years agoAuto merge of #2406 - alexcrichton:download-less, r=brson
bors [Mon, 29 Feb 2016 19:32:24 +0000 (19:32 +0000)]
Auto merge of #2406 - alexcrichton:download-less, r=brson

Currently Cargo will download an entire resolution graph all at once when in fact most packages may not be relevant to a compilation. For example target-specific dependencies and dev-dependencies are unconditionally downloaded regardless of whether they're actually needed or not.

This commit alters the internals of Cargo to avoid downloading everything immediately and just switches to lazily downloading packages. This involved adding a new `LazyCell` primitive (similar to the one in use on crates.io) and also propagates `CargoResult` in a few more locations.

Overall this ended up being a pretty large refactoring so the commits are separated in bite-sized chunks as much as possible with the end goal being this PR itself.

Closes #2394

10 years agocontrol: bump standards version
Luca Bruno [Sat, 27 Feb 2016 22:30:54 +0000 (23:30 +0100)]
control: bump standards version

10 years agoAuto merge of #2419 - dikaiosune:master, r=alexcrichton
bors [Fri, 26 Feb 2016 22:33:44 +0000 (22:33 +0000)]
Auto merge of #2419 - dikaiosune:master, r=alexcrichton

Resolves #2417. I also reorganized the order of the items on the page and moved a little bit of text around. I think it's clearer, but critique is more than welcome.

10 years agoDisambiguating docs about when environment variables are set.
Adam Perry [Fri, 26 Feb 2016 22:15:41 +0000 (15:15 -0700)]
Disambiguating docs about when environment variables are set.
Providing an example of fetching env vars at runtime in a buildscript.
Reordering the list so that examples pertain to the correct sections.

10 years agoAuto merge of #2418 - alexcrichton:update-git2, r=alexcrichton
bors [Fri, 26 Feb 2016 21:50:11 +0000 (21:50 +0000)]
Auto merge of #2418 - alexcrichton:update-git2, r=alexcrichton

This crate was recently updated to the next release of libgit2, and I've noticed
historically that a noop `cargo build` was slow in the git2-rs repository.
Curious to see if the new libgit2 version helped speed things up at all, I
tested it out.

Before this commit, a noop `cargo build` produced 599108 syscalls. After this
commit, a noop build produced 86925 syscalls, an 85% reduction in the number of
syscalls! Needless to say it's much faster.

10 years agoUpdate dependency on git2
Alex Crichton [Fri, 26 Feb 2016 21:47:56 +0000 (13:47 -0800)]
Update dependency on git2

This crate was recently updated to the next release of libgit2, and I've noticed
historically that a noop `cargo build` was slow in the git2-rs repository.
Curious to see if the new libgit2 version helped speed things up at all, I
tested it out.

Before this commit, a noop `cargo build` produced 599108 syscalls. After this
commit, a noop build produced 86925 syscalls, an 85% reduction in the number of
syscalls! Needless to say it's much faster.

10 years agoAuto merge of #2397 - alexcrichton:config-verbose, r=brson
bors [Fri, 26 Feb 2016 19:43:08 +0000 (19:43 +0000)]
Auto merge of #2397 - alexcrichton:config-verbose, r=brson

This commit adds configuration keys for:

    [term]
    verbose = true
    color = 'auto'

These are all meant to be proxies for the command line flags but configured on a
global basis if desired.

10 years agoAdd configuration keys for -v, --color
Alex Crichton [Fri, 19 Feb 2016 07:26:25 +0000 (23:26 -0800)]
Add configuration keys for -v, --color

This commit adds configuration keys for:

    [term]
    verbose = true
    color = 'auto'

These are all meant to be proxies for the command line flags but configured on a
global basis if desired.

10 years agoStop downloading all packages immediately
Alex Crichton [Mon, 22 Feb 2016 05:02:20 +0000 (21:02 -0800)]
Stop downloading all packages immediately

Instead delay all downloads until just before they're needed. This should ensure
that we don't download any more packages than we really need to.

10 years agoAuto merge of #2398 - alexcrichton:config-env-var, r=brson
bors [Fri, 26 Feb 2016 19:11:13 +0000 (19:11 +0000)]
Auto merge of #2398 - alexcrichton:config-env-var, r=brson

This commit adds a more principled system to rationalize what ends up being a
configuration value versus an environment variable. This problem is solved by
just saying that they're one and the same! Similar to Bundler, this commit
supports overriding the `foo.bar` configuration value with the `CARGO_FOO_BAR`
environment variable.

Currently this is used as part of the `get_string` and `get_i64` methods on
`Config`. This means, for example, that the following environment variables can
now be used to configure Cargo:

* CARGO_BUILD_JOBS
* CARGO_HTTP_TIMEOUT
* CARGO_HTTP_PROXY

Currently it's not supported to encode a list in an environment variable, so for
example `CARGO_PATHS` would not be read when reading the global `paths`
configuration value.

cc #2362
cc #2395 -- intended to close this in tandem with #2397

10 years agoAuto merge of #2415 - kamalmarhubi:doc-env-var-cargo-manifest-dir, r=alexcrichton
bors [Thu, 25 Feb 2016 18:47:09 +0000 (18:47 +0000)]
Auto merge of #2415 - kamalmarhubi:doc-env-var-cargo-manifest-dir, r=alexcrichton

10 years agodoc: Include CARGO_MANIFEST_DIR as being set for crates
Kamal Marhubi [Thu, 25 Feb 2016 17:57:52 +0000 (12:57 -0500)]
doc: Include CARGO_MANIFEST_DIR as being set for crates

10 years agoAuto merge of #2411 - sbeckeriv:cargo-cache-doc-update-1609, r=alexcrichton
bors [Thu, 25 Feb 2016 17:39:25 +0000 (17:39 +0000)]
Auto merge of #2411 - sbeckeriv:cargo-cache-doc-update-1609, r=alexcrichton

Per https://github.com/rust-lang/cargo/issues/1609 "clarify how the cache works"

Added in a single line that states that the cached packages are only
removed by running the clean command.

Please let me know if this is the wrong spot, incorrect information or just silly.
Thanks
becker

10 years agoAuto merge of #2414 - sbeckeriv:document-bit-env-flag-1375, r=alexcrichton
bors [Thu, 25 Feb 2016 17:07:27 +0000 (17:07 +0000)]
Auto merge of #2414 - sbeckeriv:document-bit-env-flag-1375, r=alexcrichton

Per https://github.com/rust-lang/cargo/issues/1375

Just add a note around the python script BIT flag.

10 years agoFix name
Stephen Becker IV [Thu, 25 Feb 2016 06:45:08 +0000 (22:45 -0800)]
Fix name

And move line below code block per merge request.

10 years agoAdd a note for the 32 bit flag
Stephen Becker IV [Thu, 25 Feb 2016 05:27:27 +0000 (21:27 -0800)]
Add a note for the 32 bit flag

Per https://github.com/rust-lang/cargo/issues/1375

Just add a note around the python script flag

10 years agoUpdated text based on pull request
Stephen Becker IV [Thu, 25 Feb 2016 03:35:02 +0000 (19:35 -0800)]
Updated text based on pull request

10 years agoAuto merge of #2407 - alexcrichton:better-failed-auth-error, r=brson
bors [Thu, 25 Feb 2016 00:40:22 +0000 (00:40 +0000)]
Auto merge of #2407 - alexcrichton:better-failed-auth-error, r=brson

This commit is an attempt to improve the error message from failed
authentication attempts as well as attempting more usernames. Right now we only
attempt one username, but there are four different possible choices we could
select (including $USER which we weren't previously trying).

This commit tweaks a bunch of this logic and just in general refactors the
with_authentication function.

Closes #2399

10 years agoAuth with more usernames and improve errors
Alex Crichton [Mon, 22 Feb 2016 03:36:35 +0000 (19:36 -0800)]
Auth with more usernames and improve errors

This commit is an attempt to improve the error message from failed
authentication attempts as well as attempting more usernames. Right now we only
attempt one username, but there are four different possible choices we could
select (including $USER which we weren't previously trying).

This commit tweaks a bunch of this logic and just in general refactors the
with_authentication function.

Closes #2399

10 years agoAuto merge of #2400 - JIghtuse:master, r=alexcrichton
bors [Wed, 24 Feb 2016 17:12:29 +0000 (17:12 +0000)]
Auto merge of #2400 - JIghtuse:master, r=alexcrichton

Fixes #2378

10 years agoClarify third party subcommand failure error message
Boris Egorov [Tue, 23 Feb 2016 17:44:54 +0000 (23:44 +0600)]
Clarify third party subcommand failure error message

Fixes #2378

10 years agoAdd information package caching.
Stephen Becker IV [Wed, 24 Feb 2016 07:23:39 +0000 (23:23 -0800)]
Add information package caching.

Per https://github.com/rust-lang/cargo/issues/1609
Added in a single line that states that the cached packages are only
removed by running the clean command.

10 years agoAuto merge of #2369 - alexcrichton:no-more-ar, r=alexcrichton
bors [Wed, 24 Feb 2016 01:06:16 +0000 (01:06 +0000)]
Auto merge of #2369 - alexcrichton:no-more-ar, r=alexcrichton

This is largely no longer needed as we bundle llvm-ar and use that (and it's
cross platform). Note that the underlying support still exists in Cargo as the
flag hasn't been removed from the compiler outright, and older compilers may
still be in use. Just no need to document it so prominently when it's no longer
needed!

10 years agoAuto merge of #2404 - JIghtuse:no_rebuilds_for_local_install, r=alexcrichton
bors [Mon, 22 Feb 2016 18:27:31 +0000 (18:27 +0000)]
Auto merge of #2404 - JIghtuse:no_rebuilds_for_local_install, r=alexcrichton

Fixes #2143

10 years agoAvoid unnecessary rebuild on local installation
Boris Egorov [Sat, 20 Feb 2016 09:18:29 +0000 (15:18 +0600)]
Avoid unnecessary rebuild on local installation

Fixes #2143

10 years agoMove Context::get_package to returning a Result
Alex Crichton [Mon, 22 Feb 2016 04:58:08 +0000 (20:58 -0800)]
Move Context::get_package to returning a Result

The propagate all the `try!`-s needed upwards

10 years agoImplement a fallible PackageSet::get
Alex Crichton [Sat, 20 Feb 2016 18:36:09 +0000 (10:36 -0800)]
Implement a fallible PackageSet::get

This function will lazily download the package specified and fill a cell with
that package. Currently this is always infallible because the `PackageSet` is
initialized with all packages, but eventually this will not be true.

10 years agoGo through `layout` to get doc dir output directories
Alex Crichton [Fri, 19 Feb 2016 22:14:23 +0000 (14:14 -0800)]
Go through `layout` to get doc dir output directories

10 years agoMerge the get/download methods on the Source trait
Alex Crichton [Fri, 19 Feb 2016 21:49:14 +0000 (13:49 -0800)]
Merge the get/download methods on the Source trait

Nothing currently implements the ability to more efficiently download a set of
packages at any one point in time, and the download/get distinction isn't really
used at all. We can always refactor later, but currently there's no benefit, nor
can it really be seen what the possible benefit is, so let's just merge these
two methods into one and have them operate on one id at a time.

10 years agoRemove SourceSet
Alex Crichton [Fri, 19 Feb 2016 21:37:55 +0000 (13:37 -0800)]
Remove SourceSet

This isn't used anywhere

10 years agoRemove the ability to list packages in PackageSet
Alex Crichton [Fri, 19 Feb 2016 21:34:27 +0000 (13:34 -0800)]
Remove the ability to list packages in PackageSet

If we download lazily, that's excessively wasteful!

10 years agoMove the `get_package` step later when calculating deps
Alex Crichton [Fri, 19 Feb 2016 21:16:14 +0000 (13:16 -0800)]
Move the `get_package` step later when calculating deps

Future calls to `get_package` may end up actually downloading a package, so we
want to defer this as late as possible to ensure that we don't download
anything.

10 years agoRefactor build script output state initialization
Alex Crichton [Fri, 19 Feb 2016 19:15:39 +0000 (11:15 -0800)]
Refactor build script output state initialization

Like with the previous refactor, remove the need to list all packages in a
package set as we only need to lazily do this for the actual packages being
compiled. Whenever a build script is requested to be executed is when we
actually go and try to see if an override was in play.

10 years agoRefactor links validation to not use PackageSet
Alex Crichton [Fri, 19 Feb 2016 19:02:17 +0000 (11:02 -0800)]
Refactor links validation to not use PackageSet

Eventually we may not have the entire set of packages resident in memory, so
refactor the implementation to validate the `links` attribute in a demand driven
way rather than all at once up front.

10 years agoFuse SourceMap and PackageSet
Alex Crichton [Fri, 19 Feb 2016 18:53:57 +0000 (10:53 -0800)]
Fuse SourceMap and PackageSet

This commit moves the SourceMap structure into the PackageSet structure, and
simultaneously massively cuts down on the API surface area of PackageSet. It's
intended that eventually a PackageSet will be a lazily loaded set of packages so
we don't have to download everything all at once, and this is the commit in
preparation of that.

10 years agoRead configuration from environment variables
Alex Crichton [Fri, 19 Feb 2016 08:07:22 +0000 (00:07 -0800)]
Read configuration from environment variables

This commit adds a more principled system to rationalize what ends up being a
configuration value versus an environment variable. This problem is solved by
just saying that they're one and the same! Similar to Bundler, this commit
supports overriding the `foo.bar` configuration value with the `CARGO_FOO_BAR`
environment variable.

Currently this is used as part of the `get_string` and `get_i64` methods on
`Config`. This means, for example, that the following environment variables can
now be used to configure Cargo:

* CARGO_BUILD_JOBS
* CARGO_HTTP_TIMEOUT
* CARGO_HTTP_PROXY

Currently it's not supported to encode a list in an environment variable, so for
example `CARGO_PATHS` would not be read when reading the global `paths`
configuration value.

cc #2362
cc #2395 -- intended to close this in tandem with #2397

10 years agoMake Config::get private
Alex Crichton [Fri, 19 Feb 2016 07:58:27 +0000 (23:58 -0800)]
Make Config::get private

Don't actually want to expose this, callers need to use the more concrete
methods anyway.

10 years agoRefactor configuration return values
Alex Crichton [Fri, 19 Feb 2016 07:51:52 +0000 (23:51 -0800)]
Refactor configuration return values

Wrap up the value/definition pair in a generic structure so we can extend it
well later.

10 years agoAuto merge of #2393 - WiSaGaN:bugfix/tests-mod-naming, r=alexcrichton
bors [Thu, 18 Feb 2016 17:12:57 +0000 (17:12 +0000)]
Auto merge of #2393 - WiSaGaN:bugfix/tests-mod-naming, r=alexcrichton

In the default `lib.rs` provided by `cargo-new`, the "test" module is named "test" while Rust convention is using "tests" as the name of the module: https://doc.rust-lang.org/book/testing.html#the-tests-module
The plural form also conforms with the style used in special directories at project root such as "examples" and "tests".
This pull request conforms to the existing style.

10 years agoFix naming of tests mod in cargo new
Wangshan Lu [Thu, 18 Feb 2016 10:47:28 +0000 (18:47 +0800)]
Fix naming of tests mod in cargo new

10 years agoAuto merge of #2390 - vi:conditionalize_adding_cargo_lock_to_gitignore, r=alexcrichton
bors [Wed, 17 Feb 2016 19:23:14 +0000 (19:23 +0000)]
Auto merge of #2390 - vi:conditionalize_adding_cargo_lock_to_gitignore, r=alexcrichton

For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.

10 years agocargo init: Implement test for conditional Cargo.lock ignoring
Vitaly _Vi Shukela [Wed, 17 Feb 2016 19:03:57 +0000 (22:03 +0300)]
cargo init: Implement test for conditional Cargo.lock ignoring

10 years agoAuto merge of #2391 - alexcrichton:update, r=alexcrichton
bors [Wed, 17 Feb 2016 18:50:52 +0000 (18:50 +0000)]
Auto merge of #2391 - alexcrichton:update, r=alexcrichton

Fixes compile on nightly

10 years agoUpdate tar-rs dependency
Alex Crichton [Wed, 17 Feb 2016 18:50:05 +0000 (10:50 -0800)]
Update tar-rs dependency

Fixes compile on nightly

10 years agoAuto merge of #2389 - vu3rdd:doc-init, r=alexcrichton
bors [Wed, 17 Feb 2016 17:02:27 +0000 (17:02 +0000)]
Auto merge of #2389 - vu3rdd:doc-init, r=alexcrichton

The commit documents the 'cargo init' sub-command in the usage string and in the manpage.

10 years agocargo new/init: Conditionalize adding Cargo.lock to gitignore
Vitaly _Vi Shukela [Wed, 17 Feb 2016 15:45:51 +0000 (18:45 +0300)]
cargo new/init: Conditionalize adding Cargo.lock to gitignore

For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.

10 years agodocument "cargo init"
Ramakrishnan Muthukrishnan [Wed, 17 Feb 2016 08:11:00 +0000 (13:41 +0530)]
document "cargo init"

10 years agoAuto merge of #2328 - alexcrichton:target-specific-deps, r=brson
bors [Tue, 16 Feb 2016 18:51:49 +0000 (18:51 +0000)]
Auto merge of #2328 - alexcrichton:target-specific-deps, r=brson

This commit is an implementation of [RFC 1361][rfc] which is an extension of
Cargo's `target` section in `Cargo.toml` to allow the use of `#[cfg]`-like
expressions for target-specific dependencies. Now that the compiler has been
extended with `--print cfg` each invocation of Cargo will scrape this output and
learn about the relevant `#[cfg]` directives in play for the target being
compiled. Cargo will then use these directives to decide whether a dependency
should be activated or not.

This should allow definition of dependencies along the lines of:

    [target.'cfg(unix)'.dependencies]
    [target.'cfg(target_os = "linux")'.dependencies]
    [target.'cfg(windows)'.dependencies]

Which is much more ergonomic and robust than listing all the triples out!

10 years agoImplement cfg-based target-specific dependencies
Alex Crichton [Tue, 26 Jan 2016 00:54:10 +0000 (16:54 -0800)]
Implement cfg-based target-specific dependencies

This commit is an implementation of [RFC 1361][rfc] which is an extension of
Cargo's `target` section in `Cargo.toml` to allow the use of `#[cfg]`-like
expressions for target-specific dependencies. Now that the compiler has been
extended with `--print cfg` each invocation of Cargo will scrape this output and
learn about the relevant `#[cfg]` directives in play for the target being
compiled. Cargo will then use these directives to decide whether a dependency
should be activated or not.

This should allow definition of dependencies along the lines of:

    [target.'cfg(unix)'.dependencies]
    [target.'cfg(target_os = "linux")'.dependencies]
    [target.'cfg(windows)'.dependencies]

Which is much more ergonomic and robust than listing all the triples out!

10 years agoCosmetic fixes to make_orig_multi.sh
Luca Bruno [Sun, 14 Feb 2016 16:07:44 +0000 (17:07 +0100)]
Cosmetic fixes to make_orig_multi.sh

10 years agoUpdate to canonical Vcs-* URLs
Luca Bruno [Sun, 14 Feb 2016 16:02:02 +0000 (17:02 +0100)]
Update to canonical Vcs-* URLs

10 years agocargo 0.7.0-1
Luca Bruno [Sun, 14 Feb 2016 15:22:02 +0000 (16:22 +0100)]
cargo 0.7.0-1

10 years agorules: ask cargo to build verbosely
Luca Bruno [Sun, 14 Feb 2016 15:10:23 +0000 (16:10 +0100)]
rules: ask cargo to build verbosely

10 years agopatches: add clean-win-crates.patch
Luca Bruno [Sun, 14 Feb 2016 15:09:38 +0000 (16:09 +0100)]
patches: add clean-win-crates.patch

10 years agopatches: refresh debian/patches/libgit2-fixes.patch
Luca Bruno [Sun, 14 Feb 2016 15:09:08 +0000 (16:09 +0100)]
patches: refresh debian/patches/libgit2-fixes.patch

10 years agoImport cargo_0.7.0.orig-deps.tar.gz
Luca Bruno [Sun, 14 Feb 2016 15:06:53 +0000 (16:06 +0100)]
Import cargo_0.7.0.orig-deps.tar.gz

10 years agoUpdate make_orig_multi.sh
Luca Bruno [Sun, 14 Feb 2016 15:02:37 +0000 (16:02 +0100)]
Update make_orig_multi.sh

10 years agopatches: refresh clean-cargo-deps.patch
Luca Bruno [Sun, 14 Feb 2016 15:08:15 +0000 (16:08 +0100)]
patches: refresh clean-cargo-deps.patch

10 years agodebian: update deps-tarball filter
Luca Bruno [Sun, 14 Feb 2016 15:00:02 +0000 (16:00 +0100)]
debian: update deps-tarball filter

10 years agopack.py: use the same TAR format as cargo
Luca Bruno [Sun, 14 Feb 2016 14:58:37 +0000 (15:58 +0100)]
pack.py: use the same TAR format as cargo

10 years agoUpdate README.source to current packaging
Luca Bruno [Sun, 14 Feb 2016 14:57:16 +0000 (15:57 +0100)]
Update README.source to current packaging

10 years agoMerge tag 'upstream/0.7.0' into debian/sid
Luca Bruno [Sun, 14 Feb 2016 14:56:35 +0000 (15:56 +0100)]
Merge tag 'upstream/0.7.0' into debian/sid

Upstream version 0.7.0

10 years agoAuto merge of #2387 - alexcrichton:update, r=alexcrichton
bors [Sun, 14 Feb 2016 07:23:18 +0000 (07:23 +0000)]
Auto merge of #2387 - alexcrichton:update, r=alexcrichton

The new bundled rust version supports unwinding on 32-bit MSVC!

10 years agoUpdate some dependencies, plus the rust version
Alex Crichton [Sun, 14 Feb 2016 07:21:22 +0000 (23:21 -0800)]
Update some dependencies, plus the rust version

The new bundled rust version supports unwinding on 32-bit MSVC!

10 years agoAuto merge of #2365 - japaric:env-gt-config, r=alexcrichton
bors [Fri, 12 Feb 2016 23:03:56 +0000 (23:03 +0000)]
Auto merge of #2365 - japaric:env-gt-config, r=alexcrichton

This patches fixes the precedence in these cases:

- CARGO_TARGET_ROOT is now preferred over build.target-dir
- RUSTC is now preferred over build.rustc
- RUSTDOC is now preferred over build.rustdoc

r? @alexcrichton

10 years agoAuto merge of #2384 - jseyfried:master, r=alexcrichton
bors [Fri, 12 Feb 2016 22:09:11 +0000 (22:09 +0000)]
Auto merge of #2384 - jseyfried:master, r=alexcrichton

r? @alexcrichton

10 years agoRemove non-inline modules in blocks
Jeffrey Seyfried [Fri, 12 Feb 2016 21:31:27 +0000 (21:31 +0000)]
Remove non-inline modules in blocks

10 years agoAuto merge of #2382 - carols10cents:pointer-to-release-notes, r=alexcrichton
bors [Fri, 12 Feb 2016 18:46:13 +0000 (18:46 +0000)]
Auto merge of #2382 - carols10cents:pointer-to-release-notes, r=alexcrichton

Connects to #1919 - just adds a note and a link to rust's release notes :) :runner:

10 years agoAdd a note about release notes being in Rust's release notes
Carol (Nichols || Goulding) [Fri, 12 Feb 2016 01:04:04 +0000 (20:04 -0500)]
Add a note about release notes being in Rust's release notes

10 years agoAuto merge of #2370 - alexcrichton:windows-jobs, r=brson
bors [Thu, 11 Feb 2016 19:51:06 +0000 (19:51 +0000)]
Auto merge of #2370 - alexcrichton:windows-jobs, r=brson

Currently it's somewhat surprising if you're using cargo and it's then ctrl-c'd.
The child processes that Cargo spawned are likely to still be running around in
the background as they're not killed as well, and this could cause output spew
or future build failures.

This situation is handled by default on Unix because ctrl-c will end up sending
a signal to the entire *process group*, which kills everything, but on Windows
we're not as lucky (just Cargo itself is killed). By using job objects on
Windows we can ensure that the entire tree dies instead of just the top Cargo
process.

cc #2343

10 years agoUse job objects on windows for ctrl-c to work
Alex Crichton [Mon, 8 Feb 2016 19:28:53 +0000 (11:28 -0800)]
Use job objects on windows for ctrl-c to work

Currently it's somewhat surprising if you're using cargo and it's then ctrl-c'd.
The child processes that Cargo spawned are likely to still be running around in
the background as they're not killed as well, and this could cause output spew
or future build failures.

This situation is handled by default on Unix because ctrl-c will end up sending
a signal to the entire *process group*, which kills everything, but on Windows
we're not as lucky (just Cargo itself is killed). By using job objects on
Windows we can ensure that the entire tree dies instead of just the top Cargo
process.

cc #2343

10 years agoImported Upstream version 0.7.0
Luca Bruno [Tue, 9 Feb 2016 22:42:31 +0000 (23:42 +0100)]
Imported Upstream version 0.7.0

10 years agoRemove config references to the `ar` tool
Alex Crichton [Mon, 8 Feb 2016 17:52:08 +0000 (09:52 -0800)]
Remove config references to the `ar` tool

This is largely no longer needed as we bundle llvm-ar and use that (and it's
cross platform). Note that the underlying support still exists in Cargo as the
flag hasn't been removed from the compiler outright, and older compilers may
still be in use. Just no need to document it so prominently when it's no longer
needed!

10 years agofix: prefer env variables over config files
Jorge Aparicio [Sat, 6 Feb 2016 20:25:52 +0000 (15:25 -0500)]
fix: prefer env variables over config files

This patches fixes the precedence in these cases:

- CARGO_TARGET_ROOT is now preferred over build.target-dir
- RUSTC is now preferred over build.rustc
- RUSTDOC is now preferred over build.rustdoc